<!--
 * @Descripttion : 
 * @Autor        : Lilong
 * @Date         : 2022-09-14 10:59:33
 * @LastEditTime : 2022-09-14 12:49:31
 * @FilePath     : \src\App.vue
-->
<template>
  <div id="app">
    <h1>App组件</h1>
    <child-component v-slot="slotProps">
      {{ slotProps.user.name }}
    </child-component>
  </div>
</template>

<script>
import ChildComponent from './ChildComponent'

export default {
  name: 'App',
  components:{
    ChildComponent
  }
}
</script>

<style>
</style>
